package com.android.juguotang.model;

import com.android.juguotang.utils.MyLog;
import com.google.gson.Gson;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Response;

public abstract class deletecartCallback extends Callback<deletecartdata> {

    @Override
    public deletecartdata parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
//        MyLog.e("inest","deletecartdata="+string);
        deletecartdata data = new Gson().fromJson(string, deletecartdata.class);
        return data;
    }
}